﻿using System;
using System.Collections.Generic;
using System.Text;
using OpenAuth.Repository.Core;

namespace OpenAuth.Repository.Domain
{
    /// <summary>
    /// 当日挂号信息查询（查询门诊患者挂号记录）
    /// </summary>
    public class CDRGH007 : Entity
    {
        /// <summary>
        /// 挂号序号
        /// </summary>
        private decimal _ghxh;
        public decimal ghxh { get => Convert.ToInt32(_ghxh); set => _ghxh = value; }
        /// <summary>
        /// 科室代码
        /// </summary>
        public string ksdm { get; set; }
        /// <summary>
        /// 科室名称
        /// </summary>
        public string ksmc { get; set; }
        /// <summary>
        /// 医生代码
        /// </summary>
        public string ysdm { get; set; }
        /// <summary>
        /// 医生名称
        /// </summary>
        public string ysmc { get; set; }
        /// <summary>
        /// 挂号时间
        /// </summary>
        public string ghrq { get; set; }
        /// <summary>
        /// 就诊日期
        /// </summary>
        public string jzrq { get; set; }
        /// <summary>
        /// 就诊时间段
        /// </summary>
        public string jzsjd { get; set; }
        /// <summary>
        /// 挂号号序
        /// </summary>
        private decimal _ghhx;
        public decimal ghhx { get => Convert.ToInt32(_ghhx); set => _ghhx = value; }
        /// <summary>
        /// 预约序号
        /// </summary>
        private decimal _yyxh;
        public decimal yyxh { get => Convert.ToInt32(_yyxh); set => _yyxh = value; }
        /// <summary>
        /// 挂号费
        /// </summary>
        private decimal _ghf;
        public decimal ghf { get => System.Decimal.Round(_ghf, 2); set => _ghf = value; }
        /// <summary>
        /// 支付方式
        /// </summary>
        public Int16 paytype { get; set; }
        /// <summary>
        /// 记录状态
        /// </summary>
        public Int16 jlzt { get; set; }
        /// <summary>
        /// 标志  //名字疑问
        /// </summary>
        public string bz { get; set; }
        /// <summary>
        /// 分诊标志
        /// </summary>
        public Int16 fzbz { get; set; }
        /// <summary>
        /// 就诊地址
        /// </summary>
        public string jzdz { get; set; }
        /// <summary>
        /// 挂号类别
        /// </summary>
        public Int16 ghlb { get; set; }
        /// <summary>
        /// 结算收据号
        /// </summary>
        public string jssjh { get; set; }
        /// <summary>
        /// 结算标志
        /// </summary>
        public Int16 jsbz { get; set; }
        /// <summary>
        /// 坐诊时间类型
        /// </summary>
        public string zzlx { get; set; }
        /// <summary>
        /// 操作员号
        /// </summary>
        public string czyh { get; set; }
        /// <summary>
        /// 排班明细序号
        /// </summary>
        private decimal _pbmxxh;
        public decimal pbmxxh { get => Convert.ToInt32(_pbmxxh); set => _pbmxxh = value; }
        /// <summary>
        /// 备注
        /// </summary>
        public string memo { get; set; }
        /// <summary>
        /// 院区代码
        /// </summary>
        public string yqdm { get; set; }
        /// <summary>
        /// 院区名称
        /// </summary>
        public string yqmc { get; set; }
    }
}
